package com.CmJava.service;

import com.CmJava.entity.myinfo.Description;
import com.CmJava.entity.myinfo.MyInfo;
import com.CmJava.entity.ResultEntity;

import javax.servlet.http.HttpServletRequest;

public interface AdminService {
    public ResultEntity adminLogin(String adminAccount,String adminPassword);

    ResultEntity getMyInfo(HttpServletRequest request);

    ResultEntity getDescription();

    ResultEntity updateMyInFo(MyInfo myInfo);

    ResultEntity updateDescription(Description description1);
}
